package com.tests.clovece;

import static org.junit.Assert.*;

import org.junit.Test;

import com.client.clovece.ButtonStates;
import com.client.clovece.Configuration;

public class ConfigurationTest {

	@Test
	public void test() {
		/*
		 * Check whether an icon for each state is configured.
		 * */
		Configuration c = Configuration.getInstance();
		String []sources = c.getPaths();
		ButtonStates []states = ButtonStates.values();
		for(int i = 0; i < sources.length; i++){
			System.out.println(states[i]+ " : " + sources[i] );
		}
		assertEquals(sources.length, states.length);
	}

}
